package com.itheima.day02.ZuoYe.ZuoYe3_7;

public class Test {
    public static void main(String[] args) {
        Person p1 = new Student("小学生",12,"济南历下区","黑马程序员学习过");
        Person p2 = new Student("大老师",35,"济南历下区","黑马程序员教学过");
        p1.write();
        p1.info();
        p2.write();
        p2.info();


    }
}
